Skip to content

The sweep's timeout kills its own VFP, not every VFP on the machine - #39

Merged
RandomChirp merged 1 commit into
FoxDevCommunity:mainfrom
hemstreet:fix/kill-by-pid
Nov 7, 2026
Merged

RandomChirp merged 1 commit into
FoxDevCommunity:mainfrom
hemstreet:fix/kill-by-pid

Conversation

@hemstreet

Copy link
Copy Markdown
Contributor

When a golden hangs, the timeout path runs taskkill /IM vfp9.exe /F, which kills every VFP on the machine — including an interactive IDE with unsaved work, or a parallel measurement. This kills by the child's PID tree instead, so the blast radius is the run itself.

Tested on a machine with an interactive VFP 9 session open: a probe that hung on a modal error dialog was killed cleanly at the timeout; the open IDE survived.

Fixes #36.

@RandomChirp

Copy link
Copy Markdown
Contributor

@hemstreet thank you for the contribution! can you please fix the tests? :D thanks

@RandomChirp
RandomChirp merged commit 7a7c055 into FoxDevCommunity:main Nov 7, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vfp-expected.mjs: timeout uses taskkill /IM vfp9.exe, which also kills the developer's own VFP session

2 participants